package cn.touna.jss.modules.third.xhy.entity;

import cn.touna.risk.api.contraints.IdCard;
import cn.touna.risk.api.contraints.facet.First;
import cn.touna.risk.api.contraints.facet.Second;

import javax.validation.constraints.NotNull;

/**
 ********************************************************
 * 互联网等级接口请求类
 * @author zhangjialian
 * @Date 2018-12-13 14:40
 * @Version V1.0
 ********************************************************/
public class InternetlevelRequest {
    @NotNull(message = "名字不能为空", groups = {Second.class})
    private String name;
    @IdCard(message = "身份证校验失败", groups = {First.class,Second.class})
    private String idCard;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }
}
